Skip to content

Conversation

@Trevoke
Copy link

@Trevoke Trevoke commented Mar 26, 2018

Hello!

I'm trying to make this the back-end for alchemist.el ( tonini/alchemist.el#341 ) and one of the features I'm trying to use is macro expansion. It looks like elixir_sense, your back-end, supports this, so I intend to add support for it in elixir-ls as well.

Unfortunately I'm not entirely certain of how you want this to look, nor am I entirely certain of exactly what data I'm supposed to get from emacs all the way to elixir_sense -- so I figured, I might be able to get an early review / guidance from you.

I aded a macro in the protocol file, and I used it in the server file... And that's when things went slightly awry. Anyway - how does this look so far?

This is probably beyond your purview, but for the sake of completeness, I'm using ElixirSense.expand_full/3
https://github.com/msaraiva/elixir_sense/blob/master/lib/elixir_sense.ex#L264 and I've already got an issue open on the elixir_sense repo asking what the variables mean: msaraiva/elixir_sense#27 .

@Trevoke
Copy link
Author

Trevoke commented Apr 1, 2018

@JakeBecker Hey, with this PR I'm adding support for macro expansions. I've got it working through my fork of alchemist.el in emacs. What's needed to get this mergeable?

@Trevoke Trevoke changed the title [WIP] Adding support for macro expansion request Adding support for macro expansion request Apr 7, 2018
@Trevoke Trevoke closed this Jul 17, 2018
@Trevoke Trevoke deleted the add-custom-request-for-macro-expansion branch July 17, 2018 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant